package com.better.frontend.model.suggest;

import com.better.frontend.model.base.ValidationGroupSave;
import com.better.util.page.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by Administrator on 2018/1/24.
 */
@Data
public class UserSuggestParam extends Page {
    @ApiModelProperty(value = "建议用户ID", required = true)
    //@NotEmpty(message = "用户ID",groups =ValidationGroupSave.class )
    private  String userId;
    @ApiModelProperty(value = "建议用户名称", required = true)
    //@NotEmpty(message = "用户名称不能为空",groups =ValidationGroupSave.class)
    private  String userName;
    @ApiModelProperty(value = "建议用户所在学校Id", required = true)
    //@NotEmpty(message = "建议用户所在学校Id不能为空",groups =ValidationGroupSave.class)
    private  String schoolId;
    @ApiModelProperty(value = "建议用户所在学校名称", required = true)
    //@NotEmpty(message = "建议用户所在学校名称不能为空",groups =ValidationGroupSave.class)
    private  String schoolName;
    @ApiModelProperty(value = "建议", required = true)
    @NotEmpty(message = "建议不能为空",groups =ValidationGroupSave.class)
    private  String suggestContenxt;
}
